package com.hbsx.why.model;


import java.io.Serializable;

/**
 * Created by YaNan
 * on 2017/3/15 0015.
 */
public class BaseBean<T> implements Serializable {
    /**
     * errCode : 8200
     * message : 操作成功
     * success : true
     */
    public String id;
    public int errCode;
    public int count;
    public int current_page;
    public int page_size;
    public int total_page;
    public String message;
    public boolean success;
    public T data;

    public int getErrCode() {
        return errCode;
    }

    public void setErrCode(int errCode) {
        this.errCode = errCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
